.TH std::shared_lock::swap 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::shared_lock::swap \- std::shared_lock::swap

.SH Synopsis
   template< class Mutex >                           \fI(since C++14)\fP
   void swap( shared_lock<Mutex>& other ) noexcept;

   Exchanges the internal states of the lock objects.

.SH Parameters

   other - the lock to swap the state with

.SH Return value

   \fI(none)\fP

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   std::swap(std::shared_lock) specialization of std::swap for shared_lock
   \fI(C++14)\fP                     \fI(function template)\fP

.SH Category:
     * Todo no example
